﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SIM.Geo.BE;
using SIM.Geo.BL;

namespace SIM.Geo.SE
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiceMaquina" in both code and config file together.
    [ServiceContract]
    public interface ISEMaquina
    {
        [OperationContract]
        List<Maquina> ListarMaquina();
        [OperationContract]
        List<Maquina> ListarMaquinaPorEmpresa(int codigoEmpresa);

        [OperationContract]
        List<ListItemInt> ObtenerListItem();
        [OperationContract]
        List<ListItemInt> ObtenerListItem1(int codigoEmpresa);
        [OperationContract]
        Maquina ObtenerMaquina(int codigoMaquina);
        [OperationContract]
        List<Maquina> ListarMaquinaPorEmpresaPorEsDiamantino(int codigoEmpresa, int esDiamantino);
        [OperationContract]
        List<ListItemInt> ObtenerListItem2(int codigoEmpresa, int esDiamantino);
        int InsertarMaquina(Maquina maquina);
        [OperationContract]
        void EliminarMaquina(int codigoMaquina);
        [OperationContract]
        void ModificarContadorHorometroMaquina(int codigoMaquina, double contadorHorometro);
        [OperationContract]
        void ModificarMaquina(Maquina maquina);
    }
}
